package com.wpf.system.mapper;

import com.wpf.system.entity.EquipmentBag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wpf.system.entity.vo.EquipmentBagVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ferna
* @description 针对表【equipment_bag(器材袋)】的数据库操作Mapper
* @createDate 2023-02-15 20:55:58
* @Entity com.wpf.system.entity.EquipmentBag
*/
public interface EquipmentBagMapper extends BaseMapper<EquipmentBag> {

    /**
     * 查询某用户的器材袋
     * @return 器材袋全部信息
     */
    List<EquipmentBagVO> getEquipmentBagInfo(@Param("uid") Long uid);

    /**
     * 批量物理删除器材袋内容
     * @param ids 删除的器材袋内容id集
     * @return 是否删除成功
     */
    int deleteEquipmentBagByIds(@Param("ids") List<Long> ids);
}




